package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.SysUserPost;
import com.ruoyi.system.mapper.SysUserPostMapper;
import com.ruoyi.system.service.ISysUserPostService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SysUserPostServiceImpl implements ISysUserPostService {
    @Resource
    private SysUserPostMapper sysUserPostMapper;


    @Override
    public List<SysUserPost> list(Long sysUserId) {
        return sysUserPostMapper.listPost(sysUserId);
    }
}
